﻿using System.IO;
using System.Text;

namespace Moven
{
	public static class MiscUtils
    {
#pragma warning disable CC0022 // Should dispose object
        public static Stream GenerateStream(this string s) => new MemoryStream(Encoding.UTF8.GetBytes(s));
#pragma warning restore CC0022 // Should dispose object

		public static string AddJsonExtension(this string s) => s + ".json";
    }
}
